<script>
	export default {
		onShow: function() {
			console.log('App Show')
			const token = uni.getStorageSync("token")
			if (!token) {
				// uni.reLaunch({
				// 	url: '/pages/login/login'
				// });
			
			}
		},
		onHide: function() {
			console.log('App Hide')
		},
		onLaunch: async function() {
			console.log('App Launch')
		 //  uni.removeStorageSync('selectedIndex'); // 清除缓存
			// uni.hideTabBar()
			
			// const userInfo = uni.getStorageSync("userInfo")
			
			
			// uni.navigateTo({
			// 	url: '/pages/login/login'
			// });
		},
	}
</script>

<style>
	/*每个页面公共css */
</style>
